package com.guyan.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * ClassName： Shipping
 * Date： 2021/6/10 23:02
 *
 * @author 孤焰
 * @version 1.0
 **/

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Shipping {
    // 收货地址表id
    private Integer id;
    // 用户id
    private Integer userId;
    // 收货姓名
    private String receiverName;
    // 收货电话
    private String receiverPhone;
    // 省份
    private String receiverProvince;
    // 城市
    private String receiverCity;
    // 区/县
    private String receiverDistrict;
    // 详细地址
    private String receiverAddress;
    // 邮编
    private String receiverZip;
    // 创建时间
    private Date createTime;
    // 更新时间
    private Date updateTime;

    // 冗余字段
    private User user;
}
